.book-card {
  background: white;
  width: 100%;
	max-width: 172px;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #f0f0f0;;
}
.book-card-hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.15s;
}
.book-cover {
  width: 100%;
  height: 120px;
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
  position: relative;
  overflow: hidden;
}

.book-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-author {
  font-size: 11px;
  color: #666;
  margin-bottom: 5px;
}
.book-status {
  position: relative;
  font-size: 11px;
  padding: 3rpx 10rpx;
  border-radius: 12px;
  font-weight: 500;
}
.status-available {
  background: #e8f5e8;
  color: #2d5a2d;
}
.status-borrowed {
  background: #fff3cd;
  color: #856404;
}

//下架
.status-discontinued {
  background: #f8d7da;
  color: #721c24;
}

.book-detail-cover {
  width: 120px;
  height: 180px;
  background-color: #f5f5f5;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #999;
  margin: 0 auto 20px;
  overflow: hidden;
}

.book-cover-error{
  width: 100%;
}